package com.qinyh.util;

import android.util.Log;

public class DebugUtil {

	public static void debug(String tag, Exception e) {
		Log.v(tag, e.getMessage() + "");
		for (int i = 0; i < e.getStackTrace().length; i++)
			Log.v(tag, e.getStackTrace()[i] + "");
	}

	public static void debug(Exception e) {
		Log.v("debug", e.getMessage() + "");
		for (int i = 0; i < e.getStackTrace().length; i++)
			Log.v("debug", e.getStackTrace()[i] + "");
	}
}
